package com.boot.common.message;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Cheng JiYe
 * @description:
 * @date 2020/10/2 18:59
 */
@Data
public class ResultPage<T> extends AjaxResult<T> {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("当前页码")
    protected int currentPage;

    @ApiModelProperty("每页数量")
    protected int pageSize;

    @ApiModelProperty("总数量")
    protected int total;

    @ApiModelProperty("总页数")
    protected int pages;
}
